﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.DTOs.Quality
{
    public class QualityListDto
    {
        public long Id { get; set; }
        /// <summary>
        /// 质检工单主题
        /// </summary>
        public string Quaworksubject { get; set; }

        /// <summary>
        /// 质检工单编号
        /// </summary>
        public string Quaworkcode { get; set; }

        /// <summary>
        /// 质检工单名称
        /// </summary>
        public string Quaworkname { get; set; }

        /// <summary>
        /// 来源工单id
        /// </summary>
        public long Orderid { get; set; }
        /// <summary>
        /// 来源工单
        /// </summary>
        public string WorkCode { get; set; }
        /// <summary>
        /// 完工数量
        /// </summary>
        public int Completenum { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        public int Qualifiednum { get; set; }

        /// <summary>
        /// 不良数量
        /// </summary>
        public int Defectivenum { get; set; }

        /// <summary>
        /// 生产物品
        /// </summary>
        public long Itemid { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string Goodsname { get; set; }
        /// <summary>
        /// 状态 0：未完成  1：已完成
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 工序id
        /// </summary>
        public long Processid { get; set; }

        /// <summary>
        /// 工序数量
        /// </summary>
        public int Processcount { get; set; }
        /// <summary>
        /// 报工次数
        /// </summary>
        public int Reportingcount { get; set; }

        /// <summary>
        /// 质检次数
        /// </summary>
        public int Inspectioncount { get; set; }

        /// <summary>
        /// 报工时间
        /// </summary>
        public DateTime Reportingtime { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public long Accountid { get; set; }
        /// <summary>
        /// 质检负责人
        /// </summary>
        public string QualityUsername { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Meeage { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createtime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Updatetime { get; set; }
    }
}
